cmake_minimum_required(VERSION 3.2)


# SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
# SET(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)


add_executable(num_unpack_test num_unpack_test.c hexstring.c   )

target_link_libraries(num_unpack_test
        struct
        # Catch2::Test
)


add_executable(num_pack_test num_pack_test.c  hexstring.c   )

target_link_libraries(num_pack_test
        struct
        # Catch2::Test
)

add_executable(num_array_pack_test num_array_pack_test.c  hexstring.c   )

target_link_libraries(num_array_pack_test
        struct
        # Catch2::Test
)

add_executable(string_pack_test string_pack.c  hexstring.c   )

target_link_libraries(string_pack_test
        struct
        # Catch2::Test
)

add_executable(scope_pack_test scope_pack_test.c  hexstring.c   )

target_link_libraries(scope_pack_test
        struct
        # Catch2::Test
)
add_executable(scope_unpack_test scope_unpack_test.c  hexstring.c   )

target_link_libraries(scope_unpack_test
        struct
        # Catch2::Test
)
add_executable(bswap_array_test bswap_array_test.c     )

target_link_libraries(bswap_array_test
        struct
        # Catch2::Test
)
